﻿using System;
using System.Collections.ObjectModel;
using Microsoft.VisualBasic;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;

namespace Acme.BookStore2
{
    /// <summary>
    /// 车辆检查记录
    /// </summary>
    public class VehicleInspectionRecord : FullAuditedAggregateRoot<Guid>, IMultiTenant
    {
        /// <summary>
        /// 清洁情况
        /// </summary>
        public virtual string Cleanliness { get; set; }
        /// <summary>
        /// 胎压情况
        /// </summary>
        public virtual string TirePressure { get; set; }
        /// <summary>
        /// 剩余燃料
        /// </summary>
        public virtual string RemainFuel { get; set; }
        /// <summary>
        /// 引擎灯情况
        /// </summary>
        public virtual string EngineLight { get; set; }
        /// <summary>
        /// 玻璃水情况
        /// </summary>
        public virtual string WindshieldFluid { get; set; }
        /// <summary>
        /// 当前公里数
        /// </summary>
        public virtual double CurrentKilometers { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public virtual string Remark { get; set; }
        
        /// <summary>
        /// 附件
        /// </summary>
        public virtual Collection<AttachFile> AttachFiles { get; set; }
        
        /// <summary>
        /// 车辆Id
        /// </summary>
        public virtual Guid VehicleId { get; }
        
        public Guid? TenantId { get; }
        
        protected VehicleInspectionRecord()
        {
            
        }

        public VehicleInspectionRecord(Guid id, Guid vehicleId, Guid? tenantId) :  base(id)
        {
            AttachFiles = new Collection<AttachFile>();
            VehicleId = vehicleId;
            TenantId = tenantId;
        }
    }
}